package common;

import java.rmi.Remote;
import java.rmi.RemoteException;
/**
 * Due to RMI-oriented nature of our application this class encapsulates
 * interface which is accessed by the server.  
 * During a work session server needs to send specific orders during the administration and maintenance processes.
 * Instead of sending a query-message to a client server invokes clients' methods straightaway.
 */
public interface StorageInterface extends Remote {
	void obtainPackage(PackageID ID, NetLocation location) throws RemoteException;
	void noop() throws RemoteException ;
	void removePackage(PackageID ID) throws RemoteException;
}
